home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _BE0BD3E222874132BE6F94A0C68AFFCA < prev    next >
Encoding:
Text File  |  2004-02-09  |  981 b   |  47 lines

  1. light("spot_spotmap")
  2. {
  3.     pass()
  4.     {
  5.         Pixelshader("SpotTerrainCrag14.psh")
  6.  
  7.         tmu()
  8.         {
  9.             texgen("spotlight")
  10.             texture()
  11.             {
  12.                 spotmap()
  13.                 addressfunc("clamp", "clamp", "clamp")
  14.                 filtering("linear_no_mip")  //FIXIT
  15.             }
  16.         }
  17.  
  18.         tmu()
  19.         {
  20.             texgen("spotlight_z_att")
  21.             texture()
  22.             {
  23.                 image("spot_z.png")
  24.                 addressfunc("clamp", "clamp", "clamp")
  25.                 filtering("linear_no_mip")
  26.             }
  27.         }
  28.  
  29.         !include("__TerrainColormap.mtt")
  30.  
  31.         !include("__TerrainDetail1.mtt")
  32.  
  33.         !include("__TerrainLayers.mtt")
  34.  
  35.         !include("__DetailsMask.mtt")
  36.  
  37.         tfactor(1,1,1,0)
  38.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  39.  
  40.         blendfunc("one", "one")
  41.         depthfunc("lequal", 0)
  42.  
  43.         blackfog()
  44.     }
  45. }
  46.  
  47.